<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="index.css">
</head>
<body>
  <div id="app">
    <div class="lucky-times">
      <span>您有{{luckyTimes}}次抽奖机会</span>
    </div>
    
    <div class="lottery">
      <div class="list">
        <div class="item" :class="['item' + index, {'active': item.active}]" v-for="(item, index) in list" :key="index">
          <div class="icon">
            <img :src="item.img" :alt="item.info">
          </div>
          <div class="info">{{item.info}}</div>
        </div>
        <div class="btn" @click="move">
          <span class="text">SPIN NOW</span>
        </div>
      </div>
    </div>

  </div>
    <script src="https://cdn.shopify.com/s/files/1/0249/2891/1420/files/vue.dev.js?106541"></script>
    <script src="./roll.js"></script>
    <script src="index.js"></script>
</body>
</html>